package com.zcl;

import java.util.Date;
import java.util.Properties;

/**
 * @Description:
 * @author: zcl
 * @date: 2021/12/8  18:29
 */
public class Property {
    public static void main(String[] args) {
        System.out.println(new Date());
        Properties properties = System.getProperties();
        properties.list(System.out);
        System.out.println("-----------Memory Usage:");
        Runtime runtime = Runtime.getRuntime();
        System.out.println("Total Memory = "+ runtime.totalMemory() + "Free Memory = "+ runtime.freeMemory());
        System.out.println(System.getenv());

    }
}
